﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using DAL;
using DTO;

namespace BLL
{
    public class LOAIVATLIEUBUS
    {
        public static DataTable GetListVL()
        {
            LOAIVATLIEUDAO b = new LOAIVATLIEUDAO();
            return b.GetListLVL();
        }
        public static List<LOAIVATLIEU> GetListVLL()
        {
            LOAIVATLIEUDAO b = new LOAIVATLIEUDAO();
            return b.GetListLVLL();
        }
        public static String CreateNewID()
        {
            LOAIVATLIEUDAO b = new LOAIVATLIEUDAO();
            return b.CreatenewId();
        }
        public static bool INSERT(LOAIVATLIEU bc)
        {
            LOAIVATLIEUDAO b = new LOAIVATLIEUDAO();
            return b.INSERT(bc);
        }
        public static bool UPDATE(LOAIVATLIEU bc)
        {
            LOAIVATLIEUDAO b = new LOAIVATLIEUDAO();
            return b.UPDATE(bc);
        }
        public static bool DELETE(LOAIVATLIEU bc)
        {
            LOAIVATLIEUDAO b = new LOAIVATLIEUDAO();
            return b.DELETE(bc);
        }
    }
}
